package com.geekhalo.lego.query;

import com.geekhalo.lego.core.query.QueryService;
import com.geekhalo.lego.core.query.QueryServiceDefinition;
import com.geekhalo.lego.core.singlequery.Page;

@QueryServiceDefinition(masterDataClass = Order.class,
        repositoryClass = OrderQueryRepository.class)
public interface PageByUserIdOrderQueryService
    extends QueryService<PageByUserId, Page<OrderDetail>> {

    @Override
    Page<OrderDetail> query(PageByUserId query);
}
